package com.school.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.school.entity.HljtClassimage;
import com.school.entity.web.HljtClassInfo;
import com.school.entity.web.HljtGradeInfo;

@Repository
public interface HljtGradeClassDao {

	List<HljtGradeInfo> findAllGrades();
	
	HljtGradeInfo selectGrades(String strGrade);
	
	int insertGrade(String strGrade);
	
	int updateGrade(HljtGradeInfo oHljtGradeInfo);
	
	int deleteGrade(String strGrade);
	
	int selectClassCount();
	
	int selectClassCountByGrade(String strGrade);
	
	int selectClassCountByClassInfo(int flag );
	
	int selectClassCountByGradeAndClassInfo(String strGrade,int flag );
	
	List<HljtClassInfo> findAllClassInfo(int indexPage,int sizePage);
	
	List<HljtClassInfo> findAllClassInfoEX(HljtClassInfo hljtClassInfo);
	
	Integer findAllClassCountEX(HljtClassInfo hljtClassInfo);
	
	List<HljtClassInfo> findClassInfoByGrade(int indexPage,int sizePage,String strGrade);
	
	List<HljtClassInfo> findClassInfoByClassInfo(int indexPage,int sizePage,int flag );
	
	List<HljtClassInfo> findClassInfoByClassInfoAndGrade(int indexPage,int sizePage,String strGrade,int flag );

	int insertClassInfo(HljtClassInfo oHljtClassInfo);
	
	int insertClassId(int ClassId);
	
	int insertClassImage(HljtClassimage oHljtClassimage);
	
	int updateClassInfo(HljtClassInfo oHljtClassInfo);
	
	int deleteClassInfo(String strId);
	
	HljtClassInfo selectClassInfoByGradeAndClasses(String Grade,String Classes);
	

}
